package pe.gob.mef.agenda.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

public class Contacto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="contacto_id")
	private Integer contactoId;

	@Column(name="nombre")
	private String nombre;
	
	@ManyToOne
	@JoinColumn(name="pais_id", referencedColumnName="pais_id", nullable=false)
	private Pais pais;
	
	@Column(name="telefono")
	private String telefono;
	
	@Column(name="correo")
	private String correo;



}
